
//-----------------------------------------------------------
// read io r0 : io address , r0 : return io data
//-----------------------------------------------------------
.globl __inw
__inw:
	        ldrh    r1, [r0]
	        mov     r0, r1
	        mov	pc, lr

//-----------------------------------------------------------
// read io r0 : io address , r1 : io data
//-----------------------------------------------------------
.globl __outw
__outw:
	        strh    r1, [r0]
	        mov	pc, lr
